<div id="edit_role" class="largebloc2">
	<h2><?php echo __('stakeholder_edition')." : ".$currentUser['0']['User']['firstname'].' '.$currentUser['0']['User']['lastname']; ?></h2>
	<?php 
		$urlPath = Router::getPaths();
	?>
	<table>
		<form action="<?php echo $urlPath['base'] . '/' .$project_name.'/'.$project_id.'/users/viewrole/'.$currentUser['0']['User']['id']; ?>" enctype="multipart/form-data" method="post">
		<?php echo $form->hidden('Role.project_id', array ('value' => $project_id)); ?>
		<?php echo $form->hidden('Role.project_name', array ('value' => $project_name)); ?>
		<tr>
			<td><?php echo $form->label(__('profile', true).' :'); ?></td>
			<td><?php echo $form->select('Role.status_id', $format->buildStatusArr($statusList), $selected = $userRole['0']['Role']['status_id'],
							array('id'=>'StatusList', 'style'=>'width:150px;'), false); ?></td>
		</tr>
		<tr>
			<td><?php echo $form->label(__('fast_access', true).' :'); ?></td>
			<td><?php echo $form->radio('Role.access', array('1'=>__('yes', true), '2'=>__('no', true)), null, array('value'=>($userRole['0']['Role']['access'] == 'yes') ? '1' : '2')); ?></td>
		</tr>
		<tr>
			<td><?php echo $form->submit(__('modify', true)); ?></td>
			<td><?php echo $html->link(__('cancel', true), ''); ?></td>
		</tr>
		<?php echo $form->end(); ?>
	</table>
</div>